package com.tianbo.model;

import com.tianbo.util.dao.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MessageBakExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public MessageBakExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andFidIsNull() {
            addCriterion("FID is null");
            return (Criteria) this;
        }

        public Criteria andFidIsNotNull() {
            addCriterion("FID is not null");
            return (Criteria) this;
        }

        public Criteria andFidEqualTo(Short value) {
            addCriterion("FID =", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotEqualTo(Short value) {
            addCriterion("FID <>", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThan(Short value) {
            addCriterion("FID >", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidGreaterThanOrEqualTo(Short value) {
            addCriterion("FID >=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThan(Short value) {
            addCriterion("FID <", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidLessThanOrEqualTo(Short value) {
            addCriterion("FID <=", value, "fid");
            return (Criteria) this;
        }

        public Criteria andFidIn(List<Short> values) {
            addCriterion("FID in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotIn(List<Short> values) {
            addCriterion("FID not in", values, "fid");
            return (Criteria) this;
        }

        public Criteria andFidBetween(Short value1, Short value2) {
            addCriterion("FID between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andFidNotBetween(Short value1, Short value2) {
            addCriterion("FID not between", value1, value2, "fid");
            return (Criteria) this;
        }

        public Criteria andMesstypeIsNull() {
            addCriterion("MESSTYPE is null");
            return (Criteria) this;
        }

        public Criteria andMesstypeIsNotNull() {
            addCriterion("MESSTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andMesstypeEqualTo(String value) {
            addCriterion("MESSTYPE =", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeNotEqualTo(String value) {
            addCriterion("MESSTYPE <>", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeGreaterThan(String value) {
            addCriterion("MESSTYPE >", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeGreaterThanOrEqualTo(String value) {
            addCriterion("MESSTYPE >=", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeLessThan(String value) {
            addCriterion("MESSTYPE <", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeLessThanOrEqualTo(String value) {
            addCriterion("MESSTYPE <=", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeLike(String value) {
            addCriterion("MESSTYPE like", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeNotLike(String value) {
            addCriterion("MESSTYPE not like", value, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeIn(List<String> values) {
            addCriterion("MESSTYPE in", values, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeNotIn(List<String> values) {
            addCriterion("MESSTYPE not in", values, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeBetween(String value1, String value2) {
            addCriterion("MESSTYPE between", value1, value2, "messtype");
            return (Criteria) this;
        }

        public Criteria andMesstypeNotBetween(String value1, String value2) {
            addCriterion("MESSTYPE not between", value1, value2, "messtype");
            return (Criteria) this;
        }

        public Criteria andSndrIsNull() {
            addCriterion("SNDR is null");
            return (Criteria) this;
        }

        public Criteria andSndrIsNotNull() {
            addCriterion("SNDR is not null");
            return (Criteria) this;
        }

        public Criteria andSndrEqualTo(String value) {
            addCriterion("SNDR =", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotEqualTo(String value) {
            addCriterion("SNDR <>", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrGreaterThan(String value) {
            addCriterion("SNDR >", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrGreaterThanOrEqualTo(String value) {
            addCriterion("SNDR >=", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLessThan(String value) {
            addCriterion("SNDR <", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLessThanOrEqualTo(String value) {
            addCriterion("SNDR <=", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrLike(String value) {
            addCriterion("SNDR like", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotLike(String value) {
            addCriterion("SNDR not like", value, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrIn(List<String> values) {
            addCriterion("SNDR in", values, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotIn(List<String> values) {
            addCriterion("SNDR not in", values, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrBetween(String value1, String value2) {
            addCriterion("SNDR between", value1, value2, "sndr");
            return (Criteria) this;
        }

        public Criteria andSndrNotBetween(String value1, String value2) {
            addCriterion("SNDR not between", value1, value2, "sndr");
            return (Criteria) this;
        }

        public Criteria andSeqnIsNull() {
            addCriterion("SEQN is null");
            return (Criteria) this;
        }

        public Criteria andSeqnIsNotNull() {
            addCriterion("SEQN is not null");
            return (Criteria) this;
        }

        public Criteria andSeqnEqualTo(String value) {
            addCriterion("SEQN =", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotEqualTo(String value) {
            addCriterion("SEQN <>", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnGreaterThan(String value) {
            addCriterion("SEQN >", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnGreaterThanOrEqualTo(String value) {
            addCriterion("SEQN >=", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLessThan(String value) {
            addCriterion("SEQN <", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLessThanOrEqualTo(String value) {
            addCriterion("SEQN <=", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnLike(String value) {
            addCriterion("SEQN like", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotLike(String value) {
            addCriterion("SEQN not like", value, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnIn(List<String> values) {
            addCriterion("SEQN in", values, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotIn(List<String> values) {
            addCriterion("SEQN not in", values, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnBetween(String value1, String value2) {
            addCriterion("SEQN between", value1, value2, "seqn");
            return (Criteria) this;
        }

        public Criteria andSeqnNotBetween(String value1, String value2) {
            addCriterion("SEQN not between", value1, value2, "seqn");
            return (Criteria) this;
        }

        public Criteria andSntmIsNull() {
            addCriterion("SNTM is null");
            return (Criteria) this;
        }

        public Criteria andSntmIsNotNull() {
            addCriterion("SNTM is not null");
            return (Criteria) this;
        }

        public Criteria andSntmEqualTo(Date value) {
            addCriterion("SNTM =", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotEqualTo(Date value) {
            addCriterion("SNTM <>", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmGreaterThan(Date value) {
            addCriterion("SNTM >", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmGreaterThanOrEqualTo(Date value) {
            addCriterion("SNTM >=", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmLessThan(Date value) {
            addCriterion("SNTM <", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmLessThanOrEqualTo(Date value) {
            addCriterion("SNTM <=", value, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmIn(List<Date> values) {
            addCriterion("SNTM in", values, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotIn(List<Date> values) {
            addCriterion("SNTM not in", values, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmBetween(Date value1, Date value2) {
            addCriterion("SNTM between", value1, value2, "sntm");
            return (Criteria) this;
        }

        public Criteria andSntmNotBetween(Date value1, Date value2) {
            addCriterion("SNTM not between", value1, value2, "sntm");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("TYPE like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("TYPE not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andBtimeIsNull() {
            addCriterion("BTIME is null");
            return (Criteria) this;
        }

        public Criteria andBtimeIsNotNull() {
            addCriterion("BTIME is not null");
            return (Criteria) this;
        }

        public Criteria andBtimeEqualTo(Date value) {
            addCriterion("BTIME =", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeNotEqualTo(Date value) {
            addCriterion("BTIME <>", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeGreaterThan(Date value) {
            addCriterion("BTIME >", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("BTIME >=", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeLessThan(Date value) {
            addCriterion("BTIME <", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeLessThanOrEqualTo(Date value) {
            addCriterion("BTIME <=", value, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeIn(List<Date> values) {
            addCriterion("BTIME in", values, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeNotIn(List<Date> values) {
            addCriterion("BTIME not in", values, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeBetween(Date value1, Date value2) {
            addCriterion("BTIME between", value1, value2, "btime");
            return (Criteria) this;
        }

        public Criteria andBtimeNotBetween(Date value1, Date value2) {
            addCriterion("BTIME not between", value1, value2, "btime");
            return (Criteria) this;
        }

        public Criteria andReasoncodeIsNull() {
            addCriterion("REASONCODE is null");
            return (Criteria) this;
        }

        public Criteria andReasoncodeIsNotNull() {
            addCriterion("REASONCODE is not null");
            return (Criteria) this;
        }

        public Criteria andReasoncodeEqualTo(String value) {
            addCriterion("REASONCODE =", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeNotEqualTo(String value) {
            addCriterion("REASONCODE <>", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeGreaterThan(String value) {
            addCriterion("REASONCODE >", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeGreaterThanOrEqualTo(String value) {
            addCriterion("REASONCODE >=", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeLessThan(String value) {
            addCriterion("REASONCODE <", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeLessThanOrEqualTo(String value) {
            addCriterion("REASONCODE <=", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeLike(String value) {
            addCriterion("REASONCODE like", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeNotLike(String value) {
            addCriterion("REASONCODE not like", value, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeIn(List<String> values) {
            addCriterion("REASONCODE in", values, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeNotIn(List<String> values) {
            addCriterion("REASONCODE not in", values, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeBetween(String value1, String value2) {
            addCriterion("REASONCODE between", value1, value2, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andReasoncodeNotBetween(String value1, String value2) {
            addCriterion("REASONCODE not between", value1, value2, "reasoncode");
            return (Criteria) this;
        }

        public Criteria andStypIsNull() {
            addCriterion("STYP is null");
            return (Criteria) this;
        }

        public Criteria andStypIsNotNull() {
            addCriterion("STYP is not null");
            return (Criteria) this;
        }

        public Criteria andStypEqualTo(String value) {
            addCriterion("STYP =", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotEqualTo(String value) {
            addCriterion("STYP <>", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypGreaterThan(String value) {
            addCriterion("STYP >", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypGreaterThanOrEqualTo(String value) {
            addCriterion("STYP >=", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLessThan(String value) {
            addCriterion("STYP <", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLessThanOrEqualTo(String value) {
            addCriterion("STYP <=", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypLike(String value) {
            addCriterion("STYP like", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotLike(String value) {
            addCriterion("STYP not like", value, "styp");
            return (Criteria) this;
        }

        public Criteria andStypIn(List<String> values) {
            addCriterion("STYP in", values, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotIn(List<String> values) {
            addCriterion("STYP not in", values, "styp");
            return (Criteria) this;
        }

        public Criteria andStypBetween(String value1, String value2) {
            addCriterion("STYP between", value1, value2, "styp");
            return (Criteria) this;
        }

        public Criteria andStypNotBetween(String value1, String value2) {
            addCriterion("STYP not between", value1, value2, "styp");
            return (Criteria) this;
        }

        public Criteria andIsinsertIsNull() {
            addCriterion("ISINSERT is null");
            return (Criteria) this;
        }

        public Criteria andIsinsertIsNotNull() {
            addCriterion("ISINSERT is not null");
            return (Criteria) this;
        }

        public Criteria andIsinsertEqualTo(Short value) {
            addCriterion("ISINSERT =", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertNotEqualTo(Short value) {
            addCriterion("ISINSERT <>", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertGreaterThan(Short value) {
            addCriterion("ISINSERT >", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertGreaterThanOrEqualTo(Short value) {
            addCriterion("ISINSERT >=", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertLessThan(Short value) {
            addCriterion("ISINSERT <", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertLessThanOrEqualTo(Short value) {
            addCriterion("ISINSERT <=", value, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertIn(List<Short> values) {
            addCriterion("ISINSERT in", values, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertNotIn(List<Short> values) {
            addCriterion("ISINSERT not in", values, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertBetween(Short value1, Short value2) {
            addCriterion("ISINSERT between", value1, value2, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIsinsertNotBetween(Short value1, Short value2) {
            addCriterion("ISINSERT not between", value1, value2, "isinsert");
            return (Criteria) this;
        }

        public Criteria andIshistroyIsNull() {
            addCriterion("ISHISTROY is null");
            return (Criteria) this;
        }

        public Criteria andIshistroyIsNotNull() {
            addCriterion("ISHISTROY is not null");
            return (Criteria) this;
        }

        public Criteria andIshistroyEqualTo(Short value) {
            addCriterion("ISHISTROY =", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyNotEqualTo(Short value) {
            addCriterion("ISHISTROY <>", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyGreaterThan(Short value) {
            addCriterion("ISHISTROY >", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyGreaterThanOrEqualTo(Short value) {
            addCriterion("ISHISTROY >=", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyLessThan(Short value) {
            addCriterion("ISHISTROY <", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyLessThanOrEqualTo(Short value) {
            addCriterion("ISHISTROY <=", value, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyIn(List<Short> values) {
            addCriterion("ISHISTROY in", values, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyNotIn(List<Short> values) {
            addCriterion("ISHISTROY not in", values, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyBetween(Short value1, Short value2) {
            addCriterion("ISHISTROY between", value1, value2, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIshistroyNotBetween(Short value1, Short value2) {
            addCriterion("ISHISTROY not between", value1, value2, "ishistroy");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusIsNull() {
            addCriterion("ISSHIPMENTSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusIsNotNull() {
            addCriterion("ISSHIPMENTSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusEqualTo(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS =", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusNotEqualTo(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS <>", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusGreaterThan(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS >", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS >=", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusLessThan(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS <", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ISSHIPMENTSTATUS <=", value, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusIn(List<BigDecimal> values) {
            addCriterion("ISSHIPMENTSTATUS in", values, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusNotIn(List<BigDecimal> values) {
            addCriterion("ISSHIPMENTSTATUS not in", values, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ISSHIPMENTSTATUS between", value1, value2, "isshipmentstatus");
            return (Criteria) this;
        }

        public Criteria andIsshipmentstatusNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ISSHIPMENTSTATUS not between", value1, value2, "isshipmentstatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}